<?php
/**
* Yapp Filter Chaining Database class
*
**/

function filter($left, $middle, $root)
{
    return ($filter = new dbFilter($left, $middle, $root));
}

class dbFilter
{

    public $left;
    public $right;
    public $middle;

    public function __construct($left, $middle, $right)
    {
        $this->left   = $left;
        $this->middle = $middle;
        $this->right  = $right;
    }

}
?>